<template>
    <div>周报</div>
</template>

<script>
import {
    plasmaReport
} from "@/api/plasma";
import Vue from 'vue';
Vue.prototype.indicators = undefined;

export default {
    name: "plasmaReport",
    data() {
        return {
            data: {
                dayReportList: [],
                "新浆员采浆袋数": undefined,
                "当年献浆袋数": undefined,
                "总频次": undefined,
                "当年发展新浆员数": undefined,
                "上年参与献浆总人数": undefined,
                "新浆员一针率": undefined,
                "留存率": undefined,
                "当年献浆总人数": undefined
            }
        }
    },
    created() {
        this.getPlasmaReport()
    },
    methods: {
        getPlasmaReport() {
            plasmaReport().then(res => {
                this.data = res.data
                Vue.prototype.indicators = res.data
                console.log(res)

            });
        }
    }
};
</script>

<style lang="scss">
.register {
    .cell {text-align: center;}
    .header {
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    
    justify-content: center;
    align-items: center;
    height: 100%;
    /*background-image: url("../assets/images/login-background.jpg");*/
    background-size: cover;
}

.title {
    margin: 0px auto 30px auto;
    text-align: center;
    color: #707070;
}

.el-register-footer {
    height: 40px;
    line-height: 40px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: Arial;
    font-size: 12px;
    letter-spacing: 1px;
}

.register-code-img {
    height: 38px;
}
</style>
